package com.longka.bean;

/**
 * Created by Administrator on 2017/3/6.
 */
public class Book {

    private int id;
    private String bookname;
    private String author;
    private String publishTime;
    private int grade;

    public Book() {
    }

    public Book(int id,String bookname, String author, String publishTime, int grade) {
        this.id = id;
        this.bookname = bookname;
        this.author = author;
        this.publishTime = publishTime;
        this.grade = grade;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }
}
